'use strict';
var _ = require('lodash');
////////////////////////////////////////////////////////
// 各色自定义指令
////////////////////////////////////////////////////////
var directivesModule = angular.module('wabgApp.directives', []);
(function(){
    var arr = [];
    arr.push(require('./betterPre.directive'));
    arr.push(require('./butterBar.directive'));
    arr.push(require('./select2.directive'));
    arr.push(require('./ngSubmitBtn.directive'));
    arr.push(require('./uiNav.directive'));
    arr.push(require('./leDate.directive'));
    arr.push(require('./toggleClass.directive'));
    arr.push(require('./title.directive'));
    arr.push(require('./breadcrumb.directive'));
    arr.push(require('./uiBs.directive'));
    arr.push(require('./img404.directive'));
    arr.push(require('./cityPicker.directive'));
    arr.push(require('./convertToNumber.directive'));
    arr.push(require('./convertToString.directive'));
    arr.push(require('./datetimePicker.directive'));
    arr.push(require('./fileup.directive'));
    arr.push(require('./dcJson.directive'));
    arr.push(require('./checklistModel.directive'));
    arr.push(require('./dropfun.directive'));
    arr.push(require('./pastefun.directive'));
    arr.push(require('./turn.directive'));
    arr.push(require('./gojs.directive'));
    arr.push(require('./chartist.directive'));
    arr.push(require('./fullScreen.directive'));
    arr.push(require('./easyaudioeffects.directive'));
    arr.push(require('./clipboard.directive'));
    arr.push(require('./weektime.directive'));
    arr.push(require('./sparkline.directive'));
    arr.push(require('./qrcode.directive'));
    arr.push(require('./easyDrag.directive'));
    arr.push(require('./draggable.directive'));
    //////////////////////////
    arr = _.flattenDeep(arr);
    for(var i = 0, l = arr.length; i < l; i++){
        var name = arr[i].name;
        directivesModule.directive(name, arr[i]);
    }
})();
////////////////////////////////////////////////////////
exports = module.exports = {
    default: directivesModule.name
};
